package com.example.springboot.demo.service.impl;

import com.example.springboot.demo.entity.EnterpriseDvendor;
import com.example.springboot.demo.entity.Model;
import com.example.springboot.demo.entity.Series;
import com.example.springboot.demo.entity.Vendor;
import com.example.springboot.demo.mapper.ExportMapper;
import com.example.springboot.demo.service.ExportService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.UUID;

@Service
public class ExportServiceImpl implements ExportService {

    @Resource
    private ExportMapper exportMapper;

    @Override
    public int exportVentor(Vendor ventor) {
        return exportMapper.exportVentor(ventor);
    }

    @Override
    public int exportSeries(Series series) {
        return exportMapper.exportSeries(series);
    }

    @Override
    public Boolean exportModel(Model model) {
        return exportMapper.exportModel(model);
    }

    @Override
    public int selectById(Long id) {
        return exportMapper.selectById(id);
    }

    @Override
    public List<EnterpriseDvendor> selectId() {
        return exportMapper.selectId();
    }

    @Override
    public Boolean insertse(EnterpriseDvendor enterpriseDvendor) {
        return exportMapper.insertse(enterpriseDvendor);
    }

    @Override
    public List<Long> selectEs(Integer key, Integer value) {
        return exportMapper.selectEs(key, value);
    }

    @Override
    public int updateCategory(Model model) {
        return exportMapper.updateCategory(model);
    }
}
